package Tar

import (
	"archive/tar"
)

func ReadTarHeader(tarFilePath string) ([]*tar.Header, error) {
	return readTarHeader(tarFilePath)
}

func ReadTarContent(tarFilePath, fileName string) ([]byte, error) {
	return readTarContent(tarFilePath, fileName)
}

func ExtractTarFile(tarPath, destPath string) error {
	return extractTarFile(tarPath, destPath)
}

func CreateTarFile(dirPath, tarFilePath string) error {
	return createTarFile(dirPath, tarFilePath)
}
